t = (1, 2, 3)
print(t)

t = tuple('hello')
print(t)

t = tuple([10, 20, 30])
print(t)

print(t.index(10))
print(t.count(20))
print(max(t))
print(min(t))
print(len(t))
print(10 in t)
print(20 not in t)

x = (10)
print(x, type(x))

# 如果元组中只有一个元素，逗号不能省
y = (10,)
print(y, type(y))

